From afce22f89f6c8b86af47e5d6ea6010953c639435 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sun, 7 Apr 2013 15:03:05 -0500 Subject: [PATCH] Prefer /usr/share/info/emacs-24 over /usr/share/info. Emacs will prefer /usr/share/info/emacs-24 over /usr/share/info. The value of Info-default-directory-list has been augmented via lisp/info.el to include /usr/share/info/emacs-MAJORVERSION before /usr/share/info. --- lisp/info.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/info.el b/lisp/info.el index 6e72e544dd5..d74c80fde97 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -211,7 +211,8 @@ A header-line does not scroll with the rest of the buffer." (nconc standard-info-dirs (list config-dir)) (cons config-dir standard-info-dirs)))) (if (not (eq system-type 'windows-nt)) - dirs + ;; Debian: add per-flavor info directory in front. + (cons (format "/usr/share/info/emacs-%d" emacs-major-version) dirs) ;; Include the info directory near where Emacs executable was installed. (let* ((instdir (file-name-directory invocation-directory)) (dir1 (expand-file-name "../info/" instdir)) -- 2.30.2